<!-- DOCTYPE html -->
<html lang="en">
    <head>
        <meta charset="utf8">
        <title>test</title>
    </head>
    <body>
        <!-- <h1 style="background-color: blue; color:black;">Hello world!</h1> -->
        <h1 style="background-color: brown;">User Input</h1>
        <form action="/index/" method="post" >
            <input type="text" name="username" />
            <input type="password" name="password" />
            <input type="submit" value="Submit" />
        </form>
        <hr />
        <h1 style="color: burlywood;">User Shaow</h1>
        <table border="1">
            <thead>
                <th>UserName</th>
                <th>Password</th>
            </thead>
            <tbody>
                {% for line in data %}
                    <tr>
                        <td>{{ line.user }}</td>
                        <td>{{ line.pwd }}</td>
                    </tr>
                {% endfor %}
            </tbody>
        </table>
    </body>
    <script src="/static/cmdb/jquery.min.js"></script>
</html>